package com.lxmes.gs.mapper;

import java.util.List;
import com.lxmes.gs.domain.ProjectApproval;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 项目立项Mapper接口
 * 
 * @author wdf
 * @date 2023-04-24
 */
public interface ProjectApprovalMapper extends BaseMapper<ProjectApproval>{
    /**
     * 查询项目立项
     * 
     * @param id 项目立项主键
     * @return 项目立项
     */
    public ProjectApproval selectProjectApprovalById(Long id);

    /**
     * 查询项目立项列表
     * 
     * @param projectApproval 项目立项
     * @return 项目立项集合
     */
    public List<ProjectApproval> selectProjectApprovalList(ProjectApproval projectApproval);

    /**
     * 新增项目立项
     * 
     * @param projectApproval 项目立项
     * @return 结果
     */
    public int insertProjectApproval(ProjectApproval projectApproval);

    /**
     * 修改项目立项
     * 
     * @param projectApproval 项目立项
     * @return 结果
     */
    public int updateProjectApproval(ProjectApproval projectApproval);

    /**
     * 删除项目立项
     * 
     * @param id 项目立项主键
     * @return 结果
     */
    public int deleteProjectApprovalById(Long id);

    /**
     * 批量删除项目立项
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteProjectApprovalByIds(Long[] ids);

    /**
     * 通过项目立项主键获取${subTable.functionName}信息
     *
     * @param id 项目立项ID
     * @return 结果
     */
    public  List<ProjectApproval> selectProjectApprovalByIds(Long[] ids);

}
